package cn.wolfcode.p2p.business.service;

import cn.wolfcode.p2p.business.domain.BidRequest;
import cn.wolfcode.p2p.business.domain.PaymentSchedule;
import cn.wolfcode.p2p.business.domain.PaymentScheduleDetail;
import cn.wolfcode.p2p.business.query.CreditTransferQueryObject;
import cn.wolfcode.p2p.business.query.PaymentScheduleDetailQueryObject;
import com.github.pagehelper.PageInfo;

public interface IPaymentScheduleDetailService {

    //创建当前还款计划期的收款计划明细
    void createPaymentDetail(PaymentSchedule ps, BidRequest br);

    void update(PaymentScheduleDetail detail);

    //根据债权标,找到其下面的所有收款计划,修改转让状态为正常
    void batchUpdateTransferStateByBidIdAndToLoginInfoId(Long bidId, Long toLoginInfoId, int transferStateNormal);


}
